package com.mc.service;

import java.util.List;

import com.mc.model.SubMenu;

public interface SubMenuService {
	int deleteByPrimaryKey(Integer id);

    int insert(SubMenu record);

    int insertSelective(SubMenu record);

    SubMenu selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SubMenu record);

    int updateByPrimaryKey(SubMenu record);
    
    List<SubMenu> selectSubMenuByMid(int pmid);
}
